.store-browser-card {

  .store-browser-card-wrapper {
    background-color: plv(bg-2);
    box-shadow: plv(box-shadow);
    overflow: hidden;
  }

  .store-browser-filter-type {
    cursor: pointer;
  }

  .store-browser-card-body {
    display: flex;
    align-items: stretch;
    box-sizing: border-box;

    .store-browser-card-chart {
      width: 75%;
    }

    .store-browser-card-store-list {
      flex: 1 1 auto;
      box-sizing: border-box;

      h4 {
        margin-top: 0;
      }

      .store-browser-card-store-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        letter-spacing: 1px;
        color: plv(text-3);

        & > div:first-child {
          display: flex;
          align-items: center;

          .store-browser-card-store-item-rank {
            border-radius: 20px;
            height: 20px;
            width: 20px;
            background-color: plv(secondary-2);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            margin-right: 1em;
          }
        }

      }

      .store-browser-card-store-item:nth-child(2) {
        color: plv(text-1);

        & > div:first-child {
          .store-browser-card-store-item-rank {
            color: white;
            background-color: #f1be0e
          }
        }
      }

      .store-browser-card-store-item:nth-child(3) {
        color: plv(text-1);

        & > div:first-child {
          .store-browser-card-store-item-rank {
            color: white;
            background-color: #8a60f7
          }
        }
      }

      .store-browser-card-store-item:nth-child(4) {
        color: plv(text-1);

        & > div:first-child {
          .store-browser-card-store-item-rank {
            color: white;
            background-color: #6ec4ff
          }
        }
      }
    }
  }
}

.app-container {
  @include sizeMixin(app-container, ()) {
    .store-browser-card {
      margin: $margin 0;
    }
    .store-browser-card-wrapper {
      border-radius: $border-radius;
    }
    .store-browser-filter-type {
      margin-right: $margin;
    }
    .store-browser-card-body {
      padding: $margin $margin $margin 0;
    }
    .store-browser-card-store-list {
      padding-left: calc(#{$margin} * 2);

      & > div:first-child {
        font-size: 1em;
        color: plv(text-1);
        margin-bottom: $margin;
      }

      .store-browser-card-store-item {
        height: 3em;
        font-size: $font-size;
      }
    }
  }
}
